home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 24 / 024.d81 / t.inside the 157 < prev    next >
Text File  |  2022-08-26  |  4KB  |  253 lines

  1.  
  2.  
  3.       INSIDE THE 1571 DISK DRIVE
  4.                 by
  5.           Robert W. Baker
  6.  
  7.  
  8. COMMODORE MICROCOMPUTERS MAGAZINE
  9. May/June, 1986
  10. p.108
  11.  
  12.  
  13.   This utility was designed to
  14.  
  15. give you the most out of the
  16.  
  17. Commodore 1571 disk drive, C-128
  18.  
  19. combination, but it works equally
  20.  
  21. well as a handy utility program for
  22.  
  23. 1541 drive and C-64.  The easy to
  24.  
  25. use, menu-driven program has
  26.  
  27. functions that let you lock and
  28.  
  29. unlock files, change the disk name,
  30.  
  31. and issue disk commands.
  32.  
  33.  
  34.   But the main feature of the program
  35.  
  36. is the expanded disk directory
  37.  
  38. provided by the first two functions.
  39.  
  40. These functions will identify the
  41.  
  42. files on the second side of a double
  43.  
  44. sided diskette-- letting you know for
  45.  
  46. sure which files on a double-sided
  47.  
  48. diskette may be used on a single-sided
  49.  
  50. drive.
  51.  
  52.  
  53.   When you are running this program,
  54.  
  55. be sure that you select a function
  56.  
  57. from the main menu only after you
  58.  
  59. have the correct disk in the drive.
  60.  
  61. If you do not have a disk in the
  62.  
  63. drive, you will get an error message
  64.  
  65. and be prompted to press any key.
  66.  
  67. Pressing a key any time you receive
  68.  
  69. an error message will abort the
  70.  
  71. function and return you to the main
  72.  
  73. menu.
  74.  
  75.  
  76. NORMAL and FULL DIRECTORY
  77.  
  78.  
  79.   Before these two options display
  80.  
  81. the disk directory, you are first
  82.  
  83. given the option of making a printout
  84.  
  85. of the disk information.  Respond with
  86.  
  87. a (Y)es or (N)o.  The program then
  88.  
  89. displays the disk name and I.D., the
  90.  
  91. format, number of blocks free, and
  92.  
  93. whether the disk was formatted as a
  94.  
  95. single or double-sided disk.
  96.  
  97.  
  98.   The NORMAL DIRECTORY function will
  99.  
  100. display only the active files on a
  101.  
  102. disk (those that have not been
  103.  
  104. deleted).  The FULL DIRECTORY function
  105.  
  106. will display everything, including
  107.  
  108. deleted files.
  109.  
  110.  
  111.   These functions will also display
  112.  
  113. whether a file is "locked" (L), open
  114.  
  115. (O), or utilizes tracks 36 through
  116.  
  117. 70 (2). With a locked file, a special
  118.  
  119. bit, or flag, is set that prevents
  120.  
  121. that file from being scratched, or
  122.  
  123. erased.
  124.  
  125.  
  126.   If you are making a printout of the
  127.  
  128. directory, pressing any key will halt
  129.  
  130. the printing.  Pressing a key again
  131.  
  132. will resume printing.  Pressing "Q"
  133.  
  134. will end the printout and return you
  135.  
  136. to the main menu.
  137.  
  138.  
  139. LOCK/UNLOCK FILE
  140.  
  141.  
  142.   This function allows you to lock or
  143.  
  144. unlock any file on the disk.  When
  145.  
  146. you are prompted, enter the file name
  147.  
  148. of the file you want to update.  Once
  149.  
  150. the file is found, the usual directory
  151.  
  152. information is displayed.  Then you
  153.  
  154. are asked to confirm that you want
  155.  
  156. the locked/open status of the file
  157.  
  158. switched.  Respond with a (Y)es or
  159.  
  160. (N)o.  A "N" will abort the function
  161.  
  162. without changing the directory.
  163.  
  164.  
  165.   Note that if the file is not
  166.  
  167. properly closed, the lock flag cannot
  168.  
  169. be modified, which will be indicated
  170.  
  171. by an error message.
  172.  
  173.  
  174. CHANGE DISK NAME
  175.  
  176.  
  177.   This function allows you to change
  178.  
  179. the 16-character disk name.  After
  180.  
  181. the usual disk information has been
  182.  
  183. displayed, you will be promted to
  184.  
  185. enter the new name (under
  186.  
  187. 16-characters long.)  Pressing RETURN
  188.  
  189. without entering anything will abort
  190.  
  191. this function.  Also note that this
  192.  
  193. utility will not change the disk I.D.
  194.  
  195.  
  196. ISSUE DISK COMMAND
  197.  
  198.  
  199.   If you are running this program on
  200.  
  201. a 1541 disk drive, this is your last
  202.  
  203. available function.  It allows you to
  204.  
  205. send commands directly to the disk
  206.  
  207. controller.  When prompted, enter the
  208.  
  209. command you want, enclosed in quotes,
  210.  
  211. and in the proper command format.
  212.  
  213.  
  214.   If you are running this program on
  215.  
  216. a 1571 disk drive, you have another
  217.  
  218. option on the main menu.  This option
  219.  
  220. allows you to switch the drive from
  221.  
  222. single to double-sided mode and vice
  223.  
  224. versa.
  225.  
  226.  
  227. QUIT
  228.  
  229.  
  230.   This function will terminate the
  231.  
  232. program.
  233.  
  234.  
  235.   For more information on this
  236.  
  237. utility program and the ins and outs
  238.  
  239. of the 1571 drive itself, consult
  240.  
  241. Baker's tutorial in the COMMODORE
  242.  
  243. MICROCOMPUTERS MAGAZINE,
  244.  
  245. May/June,1986.
  246.  
  247.  
  248. FILES REQUIRED:
  249.  
  250. INSIDE THE 1571
  251.  
  252. -----------<end of text>-------------
  253.